package com.lp.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @program: backend
 * @description: 菜单权限注解
 * @author: Ke.Song
 * @since: 2024-05-19 0:42:31
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface PermissionAnnotation {

    String[] menus() default {};

    String[] roles() default {};
}
